package com.hhss.qishi.entity;

import com.hhss.qishi.entity.common.BasePojo;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.validation.constraints.NotEmpty;

/**
 * 附件实体
 * @Author :Administrator
 * @Description
 * @Date :2019-06-04 15:05.
 */
@Table(name = "sys_annex")
public class Annex extends BasePojo {

	private static final long serialVersionUID = -909464789631857652L;

	/**
	 * 关联uuid
	 */
	@NotEmpty
	@Column(name = "fk_uuid")
	private String fkUuid;

	/**
	 * 关联模块
	 */
	@Column(name = "module")
	private String module;

	/**
	 * 文件原名
	 */
	@NotEmpty
	@Column(name = "file_name")
	private String fileName;

	/**
	 * 文件真实名称
	 */
	@NotEmpty
	@Column(name = "real_name")
	private String realName;

	/**
	 * 文件大小
	 */
	@NotEmpty
	@Column(name = "file_size")
	private String fileSize;

	/**
	 * 文件后缀
	 */
	@NotEmpty
	@Column(name = "file_suffix")
	private String fileSuffix;

	/**
	 * Mime-Type
	 */
	@Column(name = "content_type")
	private String contentType;

	/**
	 * 文件目录
	 */
	@NotEmpty
	@Column(name = "directory")
	private String directory;

	/**
	 * 虚拟映射路径
	 */
	@Column(name = "virtual_directory")
	private String virtualDirectory;

	/**
	 * 备注
	 */
	@Column(name = "remark")
	private String remark;

	public String getFkUuid() {
		return fkUuid;
	}

	public void setFkUuid(String fkUuid) {
		this.fkUuid = fkUuid;
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getFileSize() {
		return fileSize;
	}

	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileSuffix() {
		return fileSuffix;
	}

	public void setFileSuffix(String fileSuffix) {
		this.fileSuffix = fileSuffix;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getDirectory() {
		return directory;
	}

	public void setDirectory(String directory) {
		this.directory = directory;
	}

	public String getVirtualDirectory() {
		return virtualDirectory;
	}

	public void setVirtualDirectory(String virtualDirectory) {
		this.virtualDirectory = virtualDirectory;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
